﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestDriven.Framework;
using System.Reflection;

namespace SeanBDD
{
    //class TDRunner : ITestRunner
    //{

    //    // TODO - COPIED FROM Machine.Specification
    //    public TestRunState RunAssembly(ITestListener testListener, Assembly assembly)
    //    {
    //        var listener = new TDNetRunListener(testListener);
    //        var runner = new AppDomainRunner(listener, RunOptions.Default);
    //        runner.RunAssembly(assembly);

    //        return listener.TestRunState;
    //    }

    //    public TestRunState RunNamespace(ITestListener testListener, Assembly assembly, string ns)
    //    {
    //        var listener = new TDNetRunListener(testListener);
    //        var runner = new AppDomainRunner(listener, RunOptions.Default);
    //        runner.RunNamespace(assembly, ns);

    //        return listener.TestRunState;
    //    }

    //    public TestRunState RunMember(ITestListener testListener, Assembly assembly, MemberInfo member)
    //    {
    //        var listener = new TDNetRunListener(testListener);
    //        var runner = new AppDomainRunner(listener, RunOptions.Default);
    //        runner.RunMember(assembly, member);

    //        return listener.TestRunState;
    //    }
    //}
}
